<%-- 
    Document   : ListarExercicio
    Created on : 20/11/2008, 10:42:19
    Author     : aldinic
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <link rel="stylesheet" href="gastozero.css" type="text/css">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>LISTAR E EXCLUIR EXERCICIO</title>
    </head>
    <body  class="body" background="imagemDeFundo.jpg">
    <center> <font size="3" face="arial" > <h1>Gasto Zero</h1></font></center><br/><br/><br/>
    <div class="style1" >
        <center> 
            <font ><a href="Menu.jsp" class="texto" >MENU</a></font>&nbsp;&nbsp;&nbsp;&nbsp; 
            <font  class="texto"><a class="texto"  href="CadastrarExercicio.jsp">VOLTAR<<</a></font>&nbsp;&nbsp;&nbsp;&nbsp;
            <font  class="texto"><a class="texto"  href="index.jsp">SAIR >></a></font>&nbsp;&nbsp;&nbsp;&nbsp;
        </center>
    </div>
    <center>    
        <table border="1">
            <tr>
                <th>ID</th>
                <th>Ano</th>
                <th>Mes</th>
                <th>Excluir</th>
            </tr>
            <c:forEach var="exercicio"  items="${exercicio}">
                <tr>
                    <td>${exercicio.id_exercicio}</td>
                    <td>${exercicio.ano}</td>
                    <td>${exercicio.mes}</td>
                    <td><a href="ServletExercicio?acao=excluir&id_exercicio=${exercicio.id_exercicio}"><center><img src="excluir1.gif" width="25" height="25" /></center></a></td>
                </tr>
            </c:forEach> 
        </table>
    </center>
    </head>
</html>

                    
